package kathy_java6;
import kathy_java6.cap1.Fun;

public class Funny extends Fun{
	void doIt(){
		System.out.println(this.doThings());		
	}
	void access(){
		System.out.println("X in fun: " + x);
	}
	public String doThings(String s){
		s = "Funny";
		return s;
	}
	public static void main(String[] args) {
		new Funny().doIt();
		new Funny().access();
		Fun f = new Fun();
		System.out.println(f.x);
	}
}
